package org.xiaoyu.rpc.common.constant;

/**
 * Created By Have
 * 2021/7/12 16:11
 */
public interface RpcError {
    public static final String SERVICE_NOT_IMPLEMENT_ANY_INTERFACE = "该服务未继承任何接口";
    public static final String SERVICE_NOT_FOUND = "服务未找到";
    public static final String METHOD_NOT_EXIST = "不存在该方法";
    public static final String NOT_SUPPORTED_PROTOCOL = "无法识别的协议包";
    public static final String NOT_SUPPORTED_PACKET = "无法识别的包类型";
    public static final String NOT_SUPPORTED_SERIALIZER = "无法识别的序列化器类型";
    public static final String CANNOT_CONNECT_NACOS ="无法连接到NACOS";
    public static final String REGISTRY_SERVICE_FAILED = "注册服务失败";
    public static final String CLIENT_CONNECT_COUNT_REACH_MAX = "连接次数已达上限，连接失败";
    public static final String RESPONSE_NOT_MATCH = "RESPONSE不匹配";
    public static final String SERVICE_INVOCATION_FAILURE = "服务调用失败";
    public static final String RPC_TIMEOUT = "RPC请求超时";
    public static final String DUPLICATED_SERVICE_NAME = "duplicated service name";

}
